<?php
    class Dog{
	    private $owner;
		private $name;
		
		public function __construct($newname, $newowner){
            $this->owner = $newowner;	
            $this->name = $newname;			
		}
		
		public function sleep(){
		    echo $this->name." sleeps now";
		}
		public function walk(){
            echo $this->name." walks in the park with "	.$this-owner;	
		}
	}
?>